package com.neelsys.visualisation.repository;

import java.util.List;

import org.springframework.data.neo4j.repository.GraphRepository;
import org.springframework.data.neo4j.repository.NamedIndexRepository;
import org.springframework.data.neo4j.repository.RelationshipOperationsRepository;

import com.neelsys.visualisation.domain.CourseDesignator;
import com.neelsys.visualisation.domain.EntranceTest;

public interface EntranceTestRepository extends GraphRepository<EntranceTest>,
		RelationshipOperationsRepository<EntranceTest>,
		NamedIndexRepository<EntranceTest> {

	EntranceTest findByEntranceTestIdentifier(String entranceTestIdentifier);

	EntranceTest findByCourseDesigntatorAndEntranceTestIdentifier(
			CourseDesignator courseDesigntator, String entranceTestIdentifier);
	
	List<EntranceTest> findByCourseDesigntatorAndForCourse(
			CourseDesignator courseDesigntator, String forCourse);
	
	

}
